package org.stvd.common.security.support;

import java.util.Date;

import org.springframework.security.core.session.SessionInformation;

@SuppressWarnings("serial")
public class UserSessionInfo extends SessionInformation {

    @Override
    public UserDetail getPrincipal() {
        return (UserDetail) super.getPrincipal();
    }

    public UserSessionInfo(Object principal, String sessionId, Date lastRequest) {
        super(principal, sessionId, lastRequest);
    }
}
